#include "StdAfx.h"
#include "PushbackCompare.h"

#include <iostream>
using namespace std;

#include <boost/timer.hpp>
using namespace boost;

void CPushbackCompare::DequeAlgorithm()
{
  for(int i = 0; i < m_nTimes; ++i)
  {
    m_deque.push_back(i);
  }
}

void CPushbackCompare::VectorAlgorithm()
{
  for(int i = 0; i < m_nTimes; ++i)
  {
    m_vector.push_back(i);
  }
}

void CPushbackCompare::ListAlgorithm() 
{
  for(int i = 0; i < m_nTimes; ++i)
  {
    m_list.push_back(i);
  }
}

void CPushbackCompare::QueueAlgorithm() 
{
  for(int i = 0; i < m_nTimes; ++i)
  {
    m_queue.push(i);
  }
}

void CPushbackCompare::MapAlgorithm()
{
  for(int i = 0; i < m_nTimes; ++i)
  {
    m_map[i] = i;
  }
}